#ifndef QMYKontenPlan_H
#define QMYKontenPlan_H

#include "qKontenPlan.h"
#include "ui_qkontenplan.h"
#include "qKontenPlanvnes.h"
#include "qKontenPlankorekcija.h"
#include "qKontenPlanlista.h"


class QMyKontenPlan : public QMyBaseWidget
{
	Q_OBJECT

public:
	QMyKontenPlan(QWidget *parent = 0);
	~QMyKontenPlan();
	
private:
	Ui::QMyKontenPlanClass ui;
	QKontenPlanVnes *KontenPlanVnes;
	QKontenPlanKorekcija *KontenPlanKorekcija;
	QKontenPlanLista *KontenPlanLista;

public:
	virtual void pressF2();
	virtual void pressF3();
	virtual void pressF4();
	virtual void pressEscape();
    void refresh();

	void closeAllForm();
    QStandardItemModel* getModel();
    void setInitSearchText(QString text);

signals:
	void signCloseMyWidget();
	void eCloseKontenPlanFromPriemnica();
    void eupdateNanigator(QWidget*, QWidget*);
public slots:
	void succesfulEntryData();
	void closeWLista();
	void closeW();
	void procF2();
	void procF3();
	void retKontenPlanToIzvod(QString&, QString&);

};

#endif // QMYKontenPlan_H
